/*
 *    Copyright (c) 2018-2025, boss All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the boss developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: boss
 */

package com.hopes.bizz.poll.om.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 监测数据统计时间
 *
 * @author daijie
 * @date 2023-10-10 10:29:36
 */
@Data
@TableName("poll_analy_statistic_time")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "监测数据统计时间")
public class PollAnalyStatisticTimeEntity extends Model<PollAnalyStatisticTimeEntity> {

    private static final long serialVersionUID = 1L;


    /**
     * 标识
     */
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "标识")
    private Long id;

    /**
     * 统计类别
     */
    @Schema(description = "统计类别")
    private String analyType;

    /**
     * 统计分析时间
     */
    @Schema(description = "统计分析时间")
    private Date analyTime;

    /**
     * 创建人ID
     */
    @Schema(description = "创建人ID")
    private Long createUserId;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    @Schema(description = "创建时间")
    private Date createTime;

    /**
     * 修改人ID
     */
    @Schema(description = "修改人ID")
    private Long modifyUserId;

    /**
     * 修改时间
     */
    @Schema(description = "修改时间")
    private Date modifyTime;
}